package com.jiaomatech.demo.user;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Description: 启动类 .<br>
 *
 * @author m-xy
 *     Created By 2019/10/18 14:00
 */
@EnableAsync
@EnableScheduling
@EnableDiscoveryClient
@SpringBootApplication
public class BasicUserApplication {
    private final static Logger logger = LoggerFactory.getLogger(BasicUserApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(BasicUserApplication.class);
        logger.info("********** 【用户服务】启动成功 **********");
    }
}
